LEADTOOLS WCF (Leadtools.Services.Raster.DataContracts assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
PolygonRasterRegionData Constructor(List<LeadPoint>,Boolean)
See Also 
Leadtools.Services.Raster.DataContracts Namespace > PolygonRasterRegionData Class > PolygonRasterRegionData Constructor : PolygonRasterRegionData Constructor(List<LeadPoint>,Boolean)



points
A list of Leadtools.LeadPoint objects. The points in the list must be in the order in which the vertices of the polygon are connected. To create the line that closes the polygon, the last point in the collection is connected to the first point of the collection.
windingFillMode

Indicates how to handle complex crossing lines.

Value Meaning
true All pixels that are inside the resulting exterior lines are in the region.
false The region includes the area between odd-numbered and even-numbered polygon sides on each scan line.

The PolygonRasterRegionData Constructor(List<LeadPoint>,Boolean) is available in LEADTOOLS Document and Medical Imaging toolkits.

Initializes a new instance of the PolygonRasterRegionData class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal points As List(Of LeadPoint), _
   ByVal windingFillMode As Boolean _
)
Visual Basic (Usage)Copy Code
Dim points As List(Of LeadPoint)
Dim windingFillMode As Boolean
 
Dim instance As New PolygonRasterRegionData(points, windingFillMode)
C# 
public PolygonRasterRegionData( 
   List<LeadPoint> points,
   bool windingFillMode
)
C++/CLI 
public:
PolygonRasterRegionData( 
   List<LeadPoint>^ points,
   bool windingFillMode
)

Parameters

points
A list of Leadtools.LeadPoint objects. The points in the list must be in the order in which the vertices of the polygon are connected. To create the line that closes the polygon, the last point in the collection is connected to the first point of the collection.
windingFillMode

Indicates how to handle complex crossing lines.

Value Meaning
true All pixels that are inside the resulting exterior lines are in the region.
false The region includes the area between odd-numbered and even-numbered polygon sides on each scan line.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features